
<% @floors.each_with_index do |floor, index| %>
<section class="home-floors" id="<%= 'home_floor_' + index.to_s %>">
  <%= render partial: 'part_title', locals: { icon: floor_icon(index), href: products_path(category_id: get_first_sub_cate(floor.category_id)), title: floor.title, summary: '' } %>

  <div class="row list">
    <% products = Product.unscoped.find floor.product_ids %>
    <% products.each do |product| %>
    <div class="col-xs-3 list-item">
      <a href="<%= product_path product %>"><%= product_small_img_1(product, 'home-product-img') %></a>
      <div class="prices">
        <div class="pull-right text-grgay text-mid-line">￥<%= product.price %></div>
        <span class="text-red">￥<%= product.msrp %></span>
      </div>
      <div class="title">
        <a href="<%= product_path product %>">
          <span class="icon-cou"><span class="path1"></span><span class="path2"></span></span><%= product.title %>
        </a>
      </div>
    </div>
    <% end %>

  </div>
</section>
<% end %>
